<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Result</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class Result implements Serializable{

    private ArticleVO[] data; //响应数据
    private int code; //响应码
    private String msg; //响应消息

    public ArticleVO[] getData(){
        return data;
    }

    public void setData(ArticleVO[] data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMsg(){
        return msg;
    }

    public void setMsg(String msg){
        this.msg = msg;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class ArticleVO implements Serializable{

    private int articleId; //文章id
    private int userId; //作者id
    private String articleTitle; //文章标题
    private String simple; //文章简介
    private String searchKey; //搜索关键字
    private String icon; //文章封面
    private String articleType; //分类名称
    private string[] articleTypeArray; //分类名称的数组
    private int support; //点赞、支持数量
    private int browse; //浏览量
    private String createTime; //创建时间
    private int commentSum; //评论数量
    private UserInfoVO user; //作者

    public int getArticleId(){
        return articleId;
    }

    public void setArticleId(int articleId){
        this.articleId = articleId;
    }

    public int getUserId(){
        return userId;
    }

    public void setUserId(int userId){
        this.userId = userId;
    }

    public String getArticleTitle(){
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle){
        this.articleTitle = articleTitle;
    }

    public String getSimple(){
        return simple;
    }

    public void setSimple(String simple){
        this.simple = simple;
    }

    public String getSearchKey(){
        return searchKey;
    }

    public void setSearchKey(String searchKey){
        this.searchKey = searchKey;
    }

    public String getIcon(){
        return icon;
    }

    public void setIcon(String icon){
        this.icon = icon;
    }

    public String getArticleType(){
        return articleType;
    }

    public void setArticleType(String articleType){
        this.articleType = articleType;
    }

    public string[] getArticleTypeArray(){
        return articleTypeArray;
    }

    public void setArticleTypeArray(string[] articleTypeArray){
        this.articleTypeArray = articleTypeArray;
    }

    public int getSupport(){
        return support;
    }

    public void setSupport(int support){
        this.support = support;
    }

    public int getBrowse(){
        return browse;
    }

    public void setBrowse(int browse){
        this.browse = browse;
    }

    public String getCreateTime(){
        return createTime;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

    public int getCommentSum(){
        return commentSum;
    }

    public void setCommentSum(int commentSum){
        this.commentSum = commentSum;
    }

    public UserInfoVO getUser(){
        return user;
    }

    public void setUser(UserInfoVO user){
        this.user = user;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class UserInfoVO implements Serializable{

    private String userName; //用户名字
    private String userImg; //用户头像

    public String getUserName(){
        return userName;
    }

    public void setUserName(String userName){
        this.userName = userName;
    }

    public String getUserImg(){
        return userImg;
    }

    public void setUserImg(String userImg){
        this.userImg = userImg;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>